package com.open.capacity.company.service.impl;

import java.util.Arrays;
import java.util.HashSet;
import java.util.Set;

/**
 * Set集合去重复数组
 */
public class sb {
    public static void main(String[] args) {
//        Integer[] strings = new Integer[]{1, 2, 3, 4, 1, 2, 3};
//        Set<Integer> staffsSet = new HashSet<>(Arrays.asList(strings));
//        System.out.println(staffsSet);
//        System.out.println(staffsSet.size());


    }
            }
